﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TinyTeam.UI;
using UnityEngine.UI;


public class UIMainPage : TTUIPage
{
    public UIMainPage() : base(UIType.Normal, UIMode.HideOther, UICollider.None)
    {
        uiPath = "UIPrefab/UIMain";
    }

    public override void Awake(GameObject go)
    {

        this.gameObject.transform.Find("DownBackGround/btn_Pack").GetComponent<Button>().onClick.AddListener(() =>
        {
            ShowPage<UIBagPage>();
        });

    }
}
